clear all

local path0="C:\Dropbox\GeneticsProject (1)\REStat\round_accepted_replication_files\"

cd "`path0'Workfiles\"
set more off

insheet using "`path0'Data\LegalOrigin\Schleifer.txt", names clear

label var legor_fr	"French Legal Origin"
label var legor_ge	"German Legal Origin"
label var legor_sc	"Scandinavian Legal Origin"
label var legor_so	"Socialist Legal Oring"


rename  code  countrycode

keep country countrycode legor*

replace countrycode="GER" if countrycode=="DEU"
replace countrycode="SCG" if countrycode=="YUG"

compress
save legal_origins, replace

